package com.itwlj.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单商品
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    //订单商品id
    private Long id;

    //订单id
    private Long orderId;

    //sku id
    private Long skuId;

    //商品名称
    private String name;

    //描述
    private String attrsText;

    //图片
    private String picture;

    //价格
    private BigDecimal price;

    //商品数量
    private Integer count;
}
